<?php

class ActionDelete extends BaseAction
{
    public function run()
    {
        $iNewsId = Yii::app()->request->getParam('news_id');
        $oNews   = News::model()->findByPk($iNewsId);
        $oNews->delete();
        
        Yii::app()->controller->redirect(Yii::app()->controller->createUrl('/admin/news'));
    }
}